import java.util.ArrayList;


public class Itineraire {
	private int nbChangements;
	private ArrayList<Arret> arrets;
	private Time duree;
	
	public Itineraire(ArrayList<Arret> arrets, Time duree) {
		super();
		this.arrets = arrets;
		this.nbChangements = arrets.size()/2 -1;
		this.duree = duree;
	}
	public int getNbChangements() {
		return nbChangements;
	}
	public void setNbChangements(int nbChangements) {
		this.nbChangements = nbChangements;
	}
	public ArrayList<Arret> getArrets() {
		return arrets;
	}
	public void setArrets(ArrayList<Arret> arrets) {
		this.arrets = arrets;
	}
	public Time getDuree() {
		return duree;
	}
	public void setDuree(Time duree) {
		this.duree = duree;
	}
	
	
}
